<%--
  Created by IntelliJ IDEA.
  User: zhao
  Date: 17-1-17
  Time: 下午6:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>admin login</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <style type="text/css">
        .centerDiv{
            float: none;
            display: block;
            margin-left:auto;
            margin-right:auto;
        }
    </style>
    <script type="text/javascript">
        function submit() {
            $('form').submit();
        }
    </script>
</head>
<body style="background-image:url('${pageContext.request.contextPath}/resource/img/bgimg.jpg')">

<div class="text-center centerDiv" >
    <div class="centerDiv" style="width: 300px;" >

        <h3>湖南理工学院校友总会后台登录</h3>
        <form id="#form" action="${pageContext.request.contextPath}/hello/loginAdmin.do" method="post">
            <div class="input-group centerDiv" style="width: 300px;">
                <input name="username" type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1">
            </div>
            <div class="input-group centerDiv" style="width: 300px;">
                <input name="password" type="password" class="form-control" placeholder="Password" aria-describedby="basic-addon1">
            </div>
            <div class="btn-group" role="group" aria-label="..." >
                <button type="button" class="btn btn-primary" style="width: 300px" onclick="submit()">Login</button>
            </div>
        </form>
    </div>
</div>

<script type="text/javascript" src="${pageContext.request.contextPath}/resource/easyui/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html>